---- 查看錢包


local httparg    = require("shared.api.httparg")
local response   = require("shared.api.response")
local config     = require("config")
local tag        = httparg.tag()
local assertion  = httparg.assertion

local cjson = require "cjson.safe"
cjson.encode_max_depth(32)
cjson.decode_max_depth(32)


local ARGS = {
    -- exist body?
    tag.body('json', 'required'),

    -- required 会自动判断是否有填，未填自动返回错误
    username =tag.json.username('string','required',assertion.non_empty_string()),
    currency  =tag.json.currency   ('string','required',assertion.non_empty_string()),
}
local result={


    currency  = "btc",
    status    = "activated",
    balance   = "160",




}
response.success(result)